package com.maxd.service.Commodity;
import com.maxd.model.CommodityExquisite;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface CommodityExquisiteService {


    Page<CommodityExquisite> selectCommodityExquisite(Pageable pageable);

    CommodityExquisite selectById(Long id);

    List<CommodityExquisite> selectByUserId(Long userId);

    CommodityExquisite save(CommodityExquisite commodity);

    void saveAll(List<CommodityExquisite> list);

    CommodityExquisite update(CommodityExquisite commodity);

    void deleteById(Long id);

    void deleteByIdList(String ids);
}
